#!/bin/sh

# must not fail
#set -e 

# debug
#set -x 

echo "Starting $0"


HPACUCLI_DISTNAME=hpacucli-8.50-6.0.noarch.rpm
HPACUCLI_UNPACKCMD="rpm -Uvh"

### copy to "install"

if [ ! -f ${DISTFILES_INSTALL}/${HPACUCLI_DISTNAME} ] ; then 	
    echo "copying ${HPACUCLI_DISTNAME} to ${DISTFILES_INSTALL}"
    cp ${HPACUCLI_DISTNAME}     ${DISTFILES_INSTALL}
fi

### rpm install
${HPACUCLI_UNPACKCMD} ${DISTFILES_INSTALL}/${HPACUCLI_DISTNAME} 

echo "End of $0"

